<template>
    <div>
        <button>展开/折叠侧边栏</button>
        <div>vue3的单文件navbar</div>
    </div>
</template>

<style scoped>
div {
    background: grey;
}
</style>